package cn.djjboom.deepinspringboot.annotation;

import cn.djjboom.deepinspringboot.configuration.HelloWorldConfiguration;
import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * @author djj
 * @Date 2019/9/5
 * @Time 下午8:24
 */
public class HelloWorldImportSelector implements ImportSelector{
    @Override
    public String[] selectImports(AnnotationMetadata annotationMetadata) {

        return new String[]{HelloWorldConfiguration.class.getName()};
    }
}
